<html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>Table</title>
		<link rel="stylesheet" href="__STATIC__/plugins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="__CSS__/global.css" media="all">
		<link rel="stylesheet" href="__STATIC__/plugins/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" href="__CSS__/table.css" />
	    <script type="text/javascript" charset="utf-8" src="__JS__/ueditor.config.js"></script>
	    <script type="text/javascript" charset="utf-8" src="__JS__/ueditor.all.min.js"> </script>
        <script type="text/javascript" charset="utf-8" src="__JS__/lang/zh-cn/zh-cn.js"></script>



	</head>
	<body>
		<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
				<legend>
				  	{if  condition="($info.id)"}
			       
				编辑佣金
		  			{else/}
				添加银行
		  			{/if}
		  			
		</fieldset>
		<form action="__ADMIN__/commodel/bank_upd" method="post">

   			<div class="layui-form-item">
					<label class="layui-form-label">模板名称:</label>
					<div class="layui-input-block">
						<input name="model_name"  lay-verify="title" autocomplete="off" value="{$info.model_name}" placeholder="设置模板名称" class="layui-input" type="text">
					</div>
				</div>			

				      
				   
         {volist name="bank" id="vo" }	

				<div class="layui-form-item">
					<label class="layui-form-label">{$vo.bank_name}:</label>
					<div class="layui-input-block">
						<input name="bank[{$vo.bank_name}]" {if  condition="($vo.max)" } max="{$vo.max}" {/if} lay-verify="title" autocomplete="off" value="{$vo.money}" placeholder="输入分配给该银行的佣金" class="layui-input" type="number">
					</div>
				</div>
  	  		{/volist}

				  <div class="layui-form-item">
				
				    </div>
				  </div> 
				
				<input type="hidden" name="id" value="{$info.id}">
				<div class="layui-input-block">
					<input type="submit" class="layui-btn" value="提交">
				</div>
		</form>
		<script type="text/javascript" src="__STATIC__/plugins/layui/layui.js"></script>
			<script type="text/javascript" src="__STATIC__/datas/nav.js"></script>	
			<script src="__JS__/index.js"></script>
		    <script src="__JS__/jquery.js"></script>
	</body>
</html>
<script >
	layui.config({
			base: '__STATIC__/plugins/layui/modules/'
		});

		layui.use(['form', 'layedit', 'laydate','icheck', 'laypage','layer'], function() {
		var 	layer = layui.layer,
			layedit = layui.layedit,
			laydate = layui.laydate;


		var editIndex = layedit.build('LAY_demo_editor');

		})

</script>
  <script type="text/javascript">
      
</script>